package com.ssm.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author song
 * @date 2024年03月30日 15:54
 * @version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Free {
    private Integer id;
    private String name;
    private String picture;
    private String simplyIntroduce;
    private String text;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

}
